package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.ProjectAttachment;

import java.util.List;

/**
 * 项目附件Service接口
 *
 * @author liuxvru
 * @date 2024-11-22
 */
public interface IProjectAttachmentService extends IService<ProjectAttachment> {

    /**
     * 查询项目附件列表
     *
     * @param projectAttachment 项目附件
     * @return 项目附件集合
     */
    public List<ProjectAttachment> selectProjectAttachmentList(ProjectAttachment projectAttachment);

    List<ProjectAttachment> listByProjectId(Long projectId);

    int add(Long projectId, ProjectAttachment projectAttachment);

    int edit(ProjectAttachment projectAttachment);
}
